{config_load file="$language/lang.conf" section="boxes"}
{if $deny_cart neq 'true'}
<!-- shopping_cart //-->
<script type="text/javascript" src="jscript/jscript_ajax_cart.js"></script>
<div id="divShoppingCart">
<div class="blocks"><div><div><div>
	<h3><a href="shopping_cart.php">{#heading_cart#}</a></h3>


    <table border="0" width="100%" cellspacing="0" cellpadding="0" >
{if $empty=='false'}
    <tr >
      <td width="100%" align="left">
<!-- содержимое корзины -->
                <table width="100%" border="0" cellspacing="1" cellpadding="1">
				{foreach name=aussen item=products_data from=$products}
				  <tr>
					<td align="left">&nbsp;{$products_data.QTY}&nbsp;x&nbsp;</td>
					<td width="100%" align="left"><a href="{$products_data.LINK}" title="{$products_data.NAME}">{$products_data.NAME|os_truncate:$smarty.const.MAX_DISPLAY_CART:"...":true}</a></td>
                    <td><a href="{$products_data.LINK}"><img src="{$products_data.PRODUCTS_IMAGE}" style="Border: 0px; width: 45px;" alt="{$products_data.PRODUCTS_NAME}" /></a></td>


                  </tr>
				{/foreach}
				</table>
<!-- /содержимое корзины -->
      </td>

    </tr>

            {if $DISCOUNT}
			<tr class="cartBox">
              <td colspan="2" align="right" class="productDiscountPrice">{#text_discount#}&nbsp;{$DISCOUNT}</td>
            </tr>
            {/if}
{else} <!-- cart has no content -->
    <tr>
      <td width="100%" align="right">
      {#text_empty_cart#}&nbsp;&nbsp;&nbsp;
      </td>
      <td align="center">
        <img src="{$tpl_path}images/trash.png" hspace="0" vspace="3" />
      </td>
    </tr>
{/if}

{if $empty=='false'}
    <tr>
      <td colspan="2">
        <table width="100%" cellspacing="0" cellpadding="0">
           <tr>
             <td align="right"><nobr>&nbsp;{$UST}<strong>{#text_total#}</strong> {$TOTAL}</nobr></td>
           </tr>
        </table>
      </td>
    </tr>
    <tr>
     <td colspan="2">
        <table width="100%" cellspacing="5" cellpadding="0">
           <tr>
           <td align="left"><a class="fbutton" href="shopping_cart.php">Кошик</a></td><td align="right"><a class="fbutton" href="checkout_shipping.php">Оформити</a></td>
           </tr>
        </table>
      </td>
    </tr>
{else} <!-- cart has no content -->

{/if}
    </table>
</div></div></div></div></div>
<!-- shopping_cart_eof //-->
{/if}